<!-- 国内折扣页面 -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="../css/base.css">
  <link rel="stylesheet" href="../css/inlanddiscount.css">
</head>
<body>
  <!-- header 头部 -->
  <header id="header">
    <a href="/"></a>
    <h1>国内折扣</h1>
    <a href="javascript:void(0);">
        <img src="../images/header_app.png" alt="">
    </a>
  </header>

  <!-- 商品 -->
  <div class="main">
    <ul>
      
      <!-- main_content 部分 -->
      
    </ul>
  </div>

  <!-- 底部 -->
  <div class="footer">
    <div class="footer_nav">
      <a href="">登录</a>
      <a href="">注册</a>
      <a href="#header"><img src="../images/toTop.jpg" alt="">返回顶部</a>
    </div>
    <p>
      <span>手机APP下载</span>
      <span>慢慢买手机版</span>
      <span>-掌上比价平台</span>
    </p>
    <p>m.manmanbuy.com</p>
  </div>
</body>
<script src="../lib/zepto/dist/zepto.js"></script>
<script src="../lib/art-template/template-web.js"></script>
<script src="../js/inlanddiscount.js"></script>
</html>
<script type="text/template" id="main_content">
  {{each result }}
  <li>
    <a href="inlanddiscount-buy.html?productId={{$value.productId}}">
      <div class="main_img">
        {{@ $value.productImg}}
      </div>
      <div class="product-content">
        <div class="productName">{{ $value.productName }}</div>
        <div class="productPrice">{{ $value.productPrice }}</div>
        <div class="product-from-time">
          <span class="productFrom">{{ $value.productFrom }} |</span>
          <span class="productTime">{{ $value.productTime }}</span>
        </div>
      </div>
    </a>
  </li>
  {{/each}}
</script>